// 支付结算

export default {
  //------------------------   提现申请  ----------------------------
  // 获取提现申请列表
  loadWithdrawDepositListServer(params, callback) {
    Vue.http.get('/settlement/take/money/listpage.json', {
      params: params
    }).then(function (response) {
      callback(response.data);
    });
  },

  // 获取提现申请累计金额
  loadWithdrawDepositTotalServer(callback) {
    Vue.http.get('/settlement/platform/statistics.json').then(function (response) {
      callback(response.data);
    });
  },

  // 处理提现申请
  handleWithdrawDepositServer(params, callback_success, callback_error) {
    Vue.http.put('/settlement/take/money/handle.json', params).then(function (response) {
      callback_success(response);
    }, function (response) {
      callback_error(response);
    });
  },




}
